package com.component.api.model.data;

import com.component.api.model.param.TableColumn;
import lombok.Data;

import java.util.List;

/**
 * 描述：
 * 静态行数据
 * 保证完成数据能返回
 * @author xianggj
 * @Date 2021/12/9 16:30
 **/
@Data
public class StaticRowData  extends ColumnData {

    private static final long serialVersionUID = -1;

    public StaticRowData() {}

    public StaticRowData(List<String> dataset) {
        this.dataset = dataset;
    }

    public StaticRowData(List<String> dataset, List<TableColumn> columns) {
        super(columns);
        this.dataset = dataset;
    }

    private List<String> dataset;
}
